PEGetJobStatus

Use PEGetJobStatus to determine the status of a print job. You can use this function in a number of programming situations, for example:

C Syntax
short CRPE_API PEGetJobStatus (
        short printJob,
        PEJobInfo FAR *jobInfo );
Parameters

printJob

Specifies the print job for which you want to determine printing status.

jobInfo

Specifies a pointer to PEJobInfo, which will contain the information this function retrieves.

Returns
VB Syntax
Function PEGetJobStatus(ByVal job As Integer, info As PEJobInfo) As 
Integer
' To work around the problem of 4 - byte alignment the PEGetJobStatus
' call has been re-declared here. When your application calls PEGetJobStatus
' it is calling this function which in turn calls CRPE32.DLL.
Delphi Syntax
function PEGetJobStatus (
    printJob: Word;
    var jobInfo: PEJobInfo
    ): smallint stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com